package com.njwb.day09.ens;

public class Hero {

    private String name ;

    private HeroOfKingType heroOfKingType ;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public HeroOfKingType getHeroOfKingType() {
        return heroOfKingType;
    }

    public void setHeroOfKingType(HeroOfKingType heroOfKingType) {
        this.heroOfKingType = heroOfKingType;
    }

    @Override
    public String toString() {
        return "Hero{" +
                "name='" + name + '\'' +
                ", heroOfKingType=" + heroOfKingType +
                '}';
    }
}
